package com.graducationdesign.springboot.entities.Administrator.PersonnalInformationMoudle;

import com.graducationdesign.springboot.entities.Administrator.GraducationDesignListMoudle.GraducationDesign;

/**
 * @author Mr.zhneg
 * @create 2019-11-08-9:33
 */
public class Teacher {

    private Integer tid;
    private  String names;
    private Integer age;
    private String loginUserName;
    private String password;
    private String email;
    private String number;
    private String colleague;

    private String duty;
    private GraducationDesign graducationDesign;

    public Teacher(String names,String name,String technicalRequirements,Integer choicePerson,Integer selectedPerson ){

        this.names=names;
        this.graducationDesign.setTechnicalRequirements(technicalRequirements);
        this.graducationDesign.setChoicePerson(choicePerson);
        this.graducationDesign.setSelectedPerson(selectedPerson);

    }

    public Teacher(){

    }

    public Teacher(Integer tid,String name,Integer age,String loginUserName,String password,String email,String number,String colleague,String duty,GraducationDesign graducationDesign){

        this.tid=tid;
        this.names=name;
        this.age=age;
        this.loginUserName=loginUserName;
        this.password=password;
        this.email=email;

        this.number=number;
        this.colleague=colleague;
        this.duty=duty;
        this.graducationDesign=graducationDesign;

    }

    @Override
    public String toString() {
        return "Teacher{" +
                "tid=" + tid +
                ", name='" + names + '\'' +
                ", age=" + age +
                ", loginUserName='" + loginUserName + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", number='" + number + '\'' +
                ", colleague='" + colleague + '\'' +
                ", duty='" + duty + '\'' +
                ", graducationDesign=" + graducationDesign +
                '}';
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public GraducationDesign getGraducationDesign() {
        return graducationDesign;
    }

    public void setGraducationDesign(GraducationDesign graducationDesign) {
        this.graducationDesign = graducationDesign;
    }

    public Integer getId() {
        return tid;
    }

    public void setId(Integer id) {
        this.tid = id;
    }

    public String getName() {
        return names;
    }

    public void setName(String name) {
        this.names = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getLoginUserName() {
        return loginUserName;
    }

    public void setLoginUserName(String loginUserName) {
        this.loginUserName = loginUserName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getColleague() {
        return colleague;
    }

    public void setColleague(String colleague) {
        this.colleague = colleague;
    }

    public String getDuty() {
        return duty;
    }

    public void setDuty(String duty) {
        this.duty = duty;
    }
}
